package o;

import java.util.HashMap;
import java.util.concurrent.atomic.AtomicInteger;

public final class ffm {
    private static final AtomicInteger ˊ = new AtomicInteger(0);
    private HashMap<Long, ffl> ˋ = new HashMap();

    ffm() {
    }

    public static long ˏ() {
        return (long) ˊ.incrementAndGet();
    }

    public long ˋ(ffl o_ffl) {
        long ˏ = ˏ();
        this.ˋ.put(Long.valueOf(ˏ), o_ffl);
        return ˏ;
    }

    public long ˊ(fey<? extends ffl> o_fey__extends_o_ffl) {
        this.ˋ.put(Long.valueOf(o_fey__extends_o_ffl.ˊ()), o_fey__extends_o_ffl.ˎ());
        return o_fey__extends_o_ffl.ˊ();
    }

    public ffl ˊ(Long l) {
        return (ffl) this.ˋ.get(l);
    }

    public void ˎ() {
        for (fez release : this.ˋ.values()) {
            release.release();
        }
    }
}
